import java.util.Scanner;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: lucky
 * Date: 2022-09-05
 * Time: 13:57
 */
public class text {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int A = scanner.nextInt();
        int B = scanner.nextInt();
        if ((A & B) > 0 && (A & B) < 1000000) {
            int C = A + B;
            System.out.println(C);
        }
    }
}
